package cn.huhst.cas.weisiqian.service;

import cn.huhst.cas.weisiqian.dao.CommentDao;
import cn.huhst.cas.weisiqian.pojo.Comment;

public class CommentService {

	private CommentDao commentdao = null;

	public CommentService() {
		commentdao = new CommentDao();
	}

	public boolean addComment(Comment comment) {
		return commentdao.addComment(comment);
	}

	public boolean Like(String commentid) {

		return commentdao.like(commentid);
	}

	public boolean DisLike(String commentid) {
		return commentdao.DisLike(commentid);
	}

}
